package com.ylxin.smartplatform.service;

import com.ylxin.smartplatform.pojo.SysDevice;

/**
 * @author 29048
 * @version V1.0
 * @Project bk2205
 * @Package com.ylxin.smartplatform.service
 * @Description: 设备业务
 * Create by 杨立新 @Date 2022/9/15 21:50
 */
public interface DeviceService {
    void addDevice(SysDevice sysDevice);

    SysDevice findByDeviceId(String id);

    int updateDeviceStatus(String deviceId, int status);

    void sendCommand(String deviceId, String command);
}
